<html>
<head><meta charset="utf-8"><title>msrv lint filtering · t-compiler/wg-diagnostics · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/index.html">t-compiler/wg-diagnostics</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/msrv.20lint.20filtering.html">msrv lint filtering</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="194241646"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/msrv%20lint%20filtering/near/194241646" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/msrv.20lint.20filtering.html#194241646">(Apr 15 2020 at 23:36)</a>:</h4>
<p>Copying some info from discord <a href="https://discordapp.com/channels/442252698964721669/459149260232065034/700122493435772959" title="https://discordapp.com/channels/442252698964721669/459149260232065034/700122493435772959">https://discordapp.com/channels/442252698964721669/459149260232065034/700122493435772959</a></p>



<a name="194241686"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/msrv%20lint%20filtering/near/194241686" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/msrv.20lint.20filtering.html#194241686">(Apr 15 2020 at 23:36)</a>:</h4>
<p>has there been any talk on filtering lints that are emitted based on msrv?</p>



<a name="194241687"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/msrv%20lint%20filtering/near/194241687" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/msrv.20lint.20filtering.html#194241687">(Apr 15 2020 at 23:36)</a>:</h4>
<p>and what i mean by this is, say you have a lint that was just introduced that makes a suggestion that wont compile on an earlier version of the compiler that your project supports, the lint cant be acted upon without breaking CI, which makes using rustfix hazardous and makes results in people filtering out the lints indefinitely</p>



<a name="194241690"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/msrv%20lint%20filtering/near/194241690" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/msrv.20lint.20filtering.html#194241690">(Apr 15 2020 at 23:36)</a>:</h4>
<p>it would be cool if we could mark lints with a minimum version for them to be emitted and use the upcoming msrv changes for cargo to filter the lints that are emitted based on how actionable the fixes are.</p>



<a name="195454872"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/msrv%20lint%20filtering/near/195454872" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/msrv.20lint.20filtering.html#195454872">(Apr 27 2020 at 18:08)</a>:</h4>
<p>We haven't talked about this in any official capacity. I have been hit by similar issues. The closest to this is edition based where we silence some lints but that's too coarse for what you're asking.<br>
I would encourage you to create a ticket in the issue tracker as a feature request.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>